﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AntDesign.TableModels;

namespace SageKing.UI.Blazor.SageKingAntDesign.Contracts;

public static class RowDataExts
{
    public static T GetRowData<T>(this RowData rowData)
    {
        var dd = rowData as RowData<T>;
        if (dd != null)
        {
            return dd.Data;
        }
        return default(T);
    }
}
